import Vue from 'vue'
import Vuex from 'vuex'
import user from './modules/user'
import getters from './getters'

Vue.use(Vuex)

/**
 *
 * store中代码全是系统基础功能，业务功能更具自己实际情况添加
 */
const store = new Vuex.Store({
  modules: {
    user
  },
  getters
})

export default store
